/**
 * Copyright (C), 2021, 因特驰
 * FileName: GuanggaoServiceImpl
 * Author:   李晋武
 * Date:     2021/7/15 22:37
 * Description:
 * History:
 * 李晋武          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.esc.service.impl;

import com.esc.mapper.GuanggaoMapper;
import com.esc.model.Guanggao;
import com.esc.service.GuanggaoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 〈一句话功能简述〉<br> 
 * 〈〉
 *
 * @author Yun
 * @create 2021/7/15
 * @since 1.0.0
 */
@Service
public class GuanggaoServiceImpl implements GuanggaoService {

    @Autowired
    private GuanggaoMapper guanggaoMapper;

    @Override
    public List<Guanggao> queryGuanggaoList(Integer queryId) {
        return guanggaoMapper.queryGuanggaoList(queryId);
    }

    @Override
    public void updateGuanggao(Guanggao guanggao) {
        guanggaoMapper.updateGuanggao(guanggao);
    }

    @Override
    public Guanggao queryGuanggaoById(Integer guanggaoid) {
        return guanggaoMapper.queryGuanggaoById(guanggaoid);
    }

}